package io.kiki.sba.registry.server.metadata.multi.cluster.remote;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class RemoteClusterSlotSyncRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * remote data center
     */
    private final String dataCenter;

    /**
     * slot table epoch
     */
    private final long slotsEpoch;

    public RemoteClusterSlotSyncRequest(String dataCenter, long slotsEpoch) {
        this.dataCenter = dataCenter;
        this.slotsEpoch = slotsEpoch;
    }


}
